package com.example.gitstudy.easypoi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 通知提醒关键词表
 * </p>
 *
 * @author hwj
 * @since 2022-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("zscq_notice_key")
public class ZscqNoticeKey {

    /**
     * 主键
     */
   @TableId(type = IdType.ASSIGN_UUID)
    private String baseId;


    /**
     * 内容
     */
    @Excel(name = "内容",width = 10)
    private String content;
    /**
     * 标题
     */
    @Excel(name = "标题",width = 10)
    private String title;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", width = 20,format = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 创建用户id
     */
    @Excel(name = "创建者",width = 20)
    private String createUser;
    /**
     * 是否启用（0否 1是）
     */
    @Excel(name = "是否启用",width = 10,replace = {"是_1","否_0"})
    private String isUse;

    /**
     * 删除状态（0否 1是）
     */
    @Excel(name = "删除状态",width = 10,replace = {"是_1","否_0"})
    private String isDelete;


}
